/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2017年6月24日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package test.thread.wait_notify.exmaple1_suitangyanyi;

/**
 * @Type KeyPersonThread
 * @Desc 关键人物
 * @author boboge
 * @date 2017年6月24日
 * @Version V1.0
 */
public class KeyPersonThread extends Thread {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + "开始攻击");
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName() + "左突右杀攻击黑方");
        }
        System.out.println(Thread.currentThread().getName() + "结束战斗");
    }
}
